home *** CD-ROM | disk | FTP | other *** search
- %case sourcefile%
- %if not rsrcID = 200%
- %if firstWindow%
- %genfile zWindow z+windname+.c%
- %genfile zWindow.h z+windname+.h%
- %if not fileExists windname+.c%
- %genfile Window windname+.c%
- %genfile Window.h windname+.h%
- %endif%
- %else%
- %genfile zSubWindow z+windname+.c%
- %genfile zSubWindow.h z+windname+.h%
- %if not fileExists windname+.c%
- %genfile SubWindow windname+.c%
- %genfile SubWindow.h windname+.h%
- %endif%
- %endif%
- %endif%
- %case include%
- %if not rsrcID = 200%
- #include "%windname%.h"
- %endif%
- %case classDecl%
- %if not rsrcID = 200%
- class C%windname%;
- %endif%
- %case create%
- %if not rsrcID = 200%
- %if firstWindow%
- mainWindow = new C%windname%;
- itsWindow = mainWindow;
- ((C%windname% *)mainWindow)->I%windname% (this, itsData);
- itsMainPane = ((C%windname% *)mainWindow)->itsMainPane;
- %else%
- subWindow = new C%windname%;
- ((C%windname% *)subWindow)->I%windname% (this, itsData);
- %endif%
-
- %endif%
-